home *** CD-ROM | disk | FTP | other *** search
- Path: news.ox.ac.uk!news
- From: Nick Christie <nick.christie@oucs.ox.ac.uk>
- Newsgroups: comp.sys.amiga.programmer
- Subject: Re: Raw key -> Vanilla key
- Date: 22 Jan 1996 14:58:31 GMT
- Organization: Oxford University Computing Services
- Message-ID: <4e08mn$bf0@news.ox.ac.uk>
- References: <590.6593T272T2384@norconnect.no>
- NNTP-Posting-Host: nick.oucs.ox.ac.uk
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-Mailer: Mozilla 1.2N (Windows; I; 16bit)
-
- kenneth@norconnect.no (Kenneth C. Nilsen) wrote:
- >Does someone know how to convert a rawkey to vanilla key (OS friendly).
-
- I don't know if this is entirely applicable to your situation but
- if you specify both IDCMP_VANILLAKEYS and IDCMP_RAWKEYS for your
- window, you will get vanillakey msgs for those keys that can be
- encoded that way (eg A-Z, 0-9, etc) and rawkey msgs for other keys
- (eg. HELP, CrsrUp, etc). This is true for V37+ of the OS.
-
- If you can only get rawkeys, you have to use that function
- in the console device, I think.
-
- Nick
- +------------------------------------------------------------------------+
- | Nick Christie, IT Support, <mailto://nick.christie@oucs.ox.ac.uk> |
- | Oxford University Computing Services, <http://sable.ox.ac.uk/~nick> |
- | 13 Banbury Road, Oxford OX2 6NN. Opinions expressed are my own. |
- +------------------------------------------------------------------------+
-
-
-